<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" targetNamespace="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="request" nillable="true">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="UserCredentials" type="UserCredentials"/>
        <xs:element minOccurs="1" maxOccurs="1" name="MessageType" type="MessageType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="UserCredentials">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="UserName" type="xs:string"/>
      <xs:element minOccurs="1" maxOccurs="1" name="Password" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="MessageType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="1" name="MessageTypeID" type="xs:string"/>
      <xs:element minOccurs="1" maxOccurs="1" name="Description" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="XmlSchema" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="Version" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="ServiceProviderTypeMessageTypeID" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="DestinationDisplayName" type="xs:string"/>
      <xs:element minOccurs="0" maxOccurs="1" name="SourceDisplayName" type="xs:string"/>      
    </xs:sequence>
  </xs:complexType>

</xs:schema>
